package com.boang.stati;

import java.util.Scanner;

/*
  @author: 13813
  @date: 2024/11/20 14:32
*/
public class Test02 {
    public static void main(String[] args) {
        Student student01 = new Student();
        Student student02 = new Student();
        //静态成员变量
        Student.country = "CNN";
        Student.m1();

        //静态成员变量 被所有对象共享
        System.out.println(student01.country);
        System.out.println(student02.country);


    }
}
